import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import store from './stroe/stroe'
import { Provider } from 'react-redux';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render( 
  //react-redux提供一个Provider的组件 组件带有一个属性store用来关联store
<Provider store={ store}>
    <App />
</Provider>
);


